<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: display/ili9341.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_e4fd3481c5e8112931e161ebbc5af0ff.html">display</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ili9341.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ili9341_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef _ILI9341_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define _ILI9341_H_</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structwindow.html">   34</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;{</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structwindow.html#a890a7dba31e7328500f4e5e41e51aab7">   36</a></span>&#160;    int16_t <a class="code" href="structwindow.html#a890a7dba31e7328500f4e5e41e51aab7">xpos</a>;       <span class="comment">// x pos</span></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structwindow.html#a64bdec4f0ee274a96d696b16de783746">   37</a></span>&#160;    int16_t <a class="code" href="structwindow.html#a64bdec4f0ee274a96d696b16de783746">ypos</a>;       <span class="comment">// y pos</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structwindow.html#a879b99940dfc34772f0257f54c67b817">   38</a></span>&#160;    int16_t <a class="code" href="structwindow.html#a879b99940dfc34772f0257f54c67b817">x</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structwindow.html#a95c7023fc42e79ab42c291b90a490776">   39</a></span>&#160;    int16_t <a class="code" href="structwindow.html#a95c7023fc42e79ab42c291b90a490776">y</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structwindow.html#ad89fdeb11ce94e2e7501f7290372d6ae">   40</a></span>&#160;    int16_t <a class="code" href="structwindow.html#ad89fdeb11ce94e2e7501f7290372d6ae">w</a>;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structwindow.html#a822391abd5d09e6ce7152f68cff3ef2b">   41</a></span>&#160;    int16_t <a class="code" href="structwindow.html#a822391abd5d09e6ce7152f68cff3ef2b">h</a>;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structwindow.html#acee24e56db43557a46cbb5ca3fe35021">   42</a></span>&#160;    <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a>  <a class="code" href="structwindow.html#acee24e56db43557a46cbb5ca3fe35021">font</a>; <span class="comment">// font index</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structwindow.html#ad58fae853f87093ef4f0139df0a3f33d">   43</a></span>&#160;    <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a>  <a class="code" href="structwindow.html#ad58fae853f87093ef4f0139df0a3f33d">flags</a>;<span class="comment">// font fixed == 1, var == 0</span></div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structwindow.html#ac8739cdb3c50efcc1deaa5ab955a5e62">   44</a></span>&#160;    <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> <a class="code" href="structwindow.html#ac8739cdb3c50efcc1deaa5ab955a5e62">fg</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structwindow.html#affcf5d29153103c2537542f5a4f8ba87">   45</a></span>&#160;    <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> <a class="code" href="structwindow.html#affcf5d29153103c2537542f5a4f8ba87">bg</a>;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structwindow.html#afbd48ebcb41e68d0f458dac593578aa8">   46</a></span>&#160;    <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="structwindow.html#afbd48ebcb41e68d0f458dac593578aa8">rotation</a>;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structwindow.html#a88d2836d45dd428d8fadfd703f0f965f">   47</a></span>&#160;    <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="structwindow.html#a88d2836d45dd428d8fadfd703f0f965f">tabstop</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;} <a class="code" href="structwindow.html">window</a>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structp2__int16__t.html">   51</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structp2__int16__t.html#a017972fd9b6519624f8ebc119a11ced9">   52</a></span>&#160;    int16_t <a class="code" href="structp2__int16__t.html#a017972fd9b6519624f8ebc119a11ced9">X</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structp2__int16__t.html#a13502352cac20adbf543b35dc25bf76c">   53</a></span>&#160;    int16_t <a class="code" href="structp2__int16__t.html#a13502352cac20adbf543b35dc25bf76c">Y</a>;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;} <a class="code" href="structp2__int16__t.html">p2_int16_t</a>;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structp3__int16__t.html">   57</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structp3__int16__t.html#a85f1cacad0323b08b2b6b179abeaee79">   58</a></span>&#160;    int16_t <a class="code" href="structp3__int16__t.html#a85f1cacad0323b08b2b6b179abeaee79">X</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structp3__int16__t.html#a8bbd7ad56a3bb5399524c40527556d89">   59</a></span>&#160;    int16_t <a class="code" href="structp3__int16__t.html#a8bbd7ad56a3bb5399524c40527556d89">Y</a>;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structp3__int16__t.html#a783a79cfeb34e41432b26918fd28144f">   60</a></span>&#160;    int16_t <a class="code" href="structp3__int16__t.html#a783a79cfeb34e41432b26918fd28144f">Z</a>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;} <a class="code" href="structp3__int16__t.html">p3_int16_t</a>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">// Named address space</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">#ifndef MEMSPACE</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">   66</a></span>&#160;<span class="preprocessor">#define MEMSPACE </span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">// Weak attribute</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">#ifndef WEAK_ATR</span></div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">   71</a></span>&#160;<span class="preprocessor">#define WEAK_ATR __attribute__((weak))</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="display_2font_8h.html">font.h</a>&quot;</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ili9341__adafruit_8h.html">ili9341_adafruit.h</a>&quot;</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">// FIXED font is default</span></div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a29fe4e7cb4d2be27f14f14431856391c">   78</a></span>&#160;<span class="preprocessor">#define FONT_VAR   1</span></div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ab73b6f81ca48b2c6565e527a069914b3">   79</a></span>&#160;<span class="preprocessor">#define WRAP_H     2</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ae48f725a443ce4210c725908799554af">   80</a></span>&#160;<span class="preprocessor">#define WRAP_V     4</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a43c1de45dbd91827a260224c9c40221b">   81</a></span>&#160;<span class="preprocessor">#define WRAP       (WRAP_H | WRAP_V)</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="ili9341_8h.html#acd1bbb4cc5c0b122517e6dc6030ba441">   83</a></span>&#160;<span class="preprocessor">#define TFT_W (MAX_TFT_X-MIN_TFT_X+1)</span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a27547bc8807c95c9e8e541e8cc92fece">   84</a></span>&#160;<span class="preprocessor">#define TFT_H (MAX_TFT_Y-MIN_TFT_Y+1)</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a9d8bf18fe27c3b37d767477f93515780">   85</a></span>&#160;<span class="preprocessor">#define TFT_XOFF (MIN_TFT_X)</span></div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a9e86747a04cc5cca5f61042d742b7e40">   86</a></span>&#160;<span class="preprocessor">#define TFT_YOFF (MIN_TFT_Y)</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a6e05438fee5830ddbc6fa94a1770eefe">   93</a></span>&#160;<span class="preprocessor">#define tft_RGBto565(r, g, b) ((uint16_t) (((r) &amp; 0xf8) &lt;&lt; 8) | (((g) &amp; 0xfc) &lt;&lt; 3) | (((b) &amp; 0xf8) &gt;&gt;3))</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="ili9341_8h.html#aac9153aee4bdb92701df902e06a74eb3">   95</a></span>&#160;<span class="preprocessor">#define SWAP(a, b) do { a ^= b; b ^= a; a ^= b; } while(0)</span></div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a996f7be338ccb40d1a2a5abc1ad61759">   96</a></span>&#160;<span class="preprocessor">#define ABS(x) ((x)&lt;0 ? -(x) : (x))</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment">// ============================================================</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">/* font.c */</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#a787c79d0b0179b4b0f725422301d0e52">font_max</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#aec37c6383e20a1fef1cd4924060ed693">font_H</a> ( <span class="keywordtype">int</span> <a class="code" href="bdffontutil_8h.html#a6d9c6f27190f0f04abf55678fe81080d">font</a> );</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#a647c0e54986f2520898707b8accd28f3">font_W</a> ( <span class="keywordtype">int</span> <a class="code" href="bdffontutil_8h.html#a6d9c6f27190f0f04abf55678fe81080d">font</a> );</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#acea4413f1d84d044b7d83a96bb0bcb79">font_attr</a> ( <a class="code" href="structwindow.html">window</a> *win , <span class="keywordtype">int</span> c , <a class="code" href="struct__fontc.html">_fontc</a> *f );</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="comment">// ============================================================</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment">/* vfont.c */</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;int16_t <a class="code" href="ili9341_8h.html#a0aa9c4ef2ff8fad916fe2f748c139c59">sx</a> ( <span class="keywordtype">float</span> scale , int16_t xoff , int16_t <a class="code" href="cordic_8c.html#a46b4b48ef8c0c01099eb3bcdde8aa8db">X</a> );</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;int16_t <a class="code" href="ili9341_8h.html#aade6a90a61d9ec9c45a7ad61180f9770">sy</a> ( <span class="keywordtype">float</span> scale , int16_t yoff , int16_t <a class="code" href="cordic_8c.html#ab746e677f466f17031e92ed577fc3c15">Y</a> );</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a2f1b69d1fb9681eedc171a9b8402f3ca">drawSVG</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t c , <span class="keywordtype">float</span> scale , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color, int16_t fill );</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="comment">// ============================================================</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment">/* ili9341.c */</span></div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a944393583142b4a19593eec1a743b90e">tft_Cmd</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> cmd );</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> <a class="code" href="ili9341_8h.html#a2e9724741987970e9a1a866446bc3a2f">tft_Data</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> data );</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a666fba3ffecff43f44c647bed2d012fe">tft_Cmd_Data_TX</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> cmd , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data , <span class="keywordtype">int</span> bytes );</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<a class="code" href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a> <a class="code" href="ili9341_8h.html#a4f8e68425197b38f3c9889b64b24f362">tft_abs_window</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t w , int16_t h );</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<a class="code" href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a> <a class="code" href="ili9341_8h.html#a26f9b4da8c98bb40a55da447874a849c">tft_rel_window</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t w , int16_t h );</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="ili9341_8h.html#a3cbe26ff6bbd20f42551fcfa12351142">tft_readRegister</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> command , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> parameter );</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="ili9341_8h.html#a79545feceb8eca011c3f424b36035010">tft_readId</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a9aedd26c42606ba58f2f0a483619f323">tft_bit_blit</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *ptr , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t w , int16_t h );</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a90dda5b7ba495fcca6ab4e5259f6c6fe">tft_fillWin</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a70194eb517d3ef94b34695e4599168ab">tft_flood</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> border , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> fill );</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#abeeeab813dc4bbff2e42b292748a69f6">tft_push_xy</a> ( int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> );</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#a965b65255c70e4dfcdf3c80365bb1358">tft_pop_xy</a> ( int16_t *<a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t *<a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> );</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#a6223a118e376e361d8278428d1dac4fb">tft_floodline</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> border , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> fill );</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#a6ab93eb7f022a179fed29999a4affd2f">tft_FillPolyLine</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , <span class="keywordtype">int</span> w , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a3c9368b6d6f6388a7c7f9ed89743e47f">tft_fillRectWH</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t w , int16_t h , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a49f75769b08991ac4a56bfb2f4e1fa05">tft_fillRectXY</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t xl , int16_t yl , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a675036a93108cdafe0b1060ba024c485">tft_drawPixel</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t color );</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a2e70141c8de6a4199f9fc39d8cfc758c">tft_writeRect</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t w , int16_t h , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *color );</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a08bf5b6422229993b5d68e48c7b39619">tft_readRect</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t w , int16_t h , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> *color );</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a98e0ecaf3fc85ced7c0b7a2a504df02f">tft_Vscroll</a> ( <a class="code" href="structwindow.html">window</a> *win , <span class="keywordtype">int</span> dir );</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> <a class="code" href="ili9341_8h.html#ae282613acd29016b23947b0b053170b5">tft_readPixel</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> );</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a4c1271aab64c58f75e6de6471f430bbe">tft_setRotation</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> m );</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#aecac98906474a88c3017fc3761328506">tft_565toRGB</a> ( <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *r , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *g , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *b );</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#ac276806b0f70c3a69aaefa4a7937643b">tft_invertDisplay</a> ( <span class="keywordtype">int</span> flag );</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#af543a94ab615526f81039617a49ac6e5">tft_window_clip</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#adfcd8a18cff06d92e9d9c5959a66c9dd">tft_clip_xy</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t *<a class="code" href="cordic_8c.html#a46b4b48ef8c0c01099eb3bcdde8aa8db">X</a> , int16_t *<a class="code" href="cordic_8c.html#ab746e677f466f17031e92ed577fc3c15">Y</a> );</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#a04d77513a2a6464617b3effa276196ae">tft_window_clip_args</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t *<a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t *<a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t *w , int16_t *h );</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a5a31e1132605d6a60b66c4e969b56b37">tft_window_init</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t w , int16_t h );</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#aeedc758e5bf61e7ffb28d4a85de854e6">tft_setTextColor</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> fg , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> bg );</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#adaf98866e7cbd787fde096143d394699">tft_setpos</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> );</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a2eb6ca3fa55bfe5ecf510bc4b25916fc">tft_set_textpos</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> );</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#aa530634bb661856089c9bc7d78f8805f">tft_set_font</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> index );</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#aea5f4bb41e9459b03f1a0df02b01b9fa">tft_font_fixed</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a6a3d78858315dd032ed3b31099867584">tft_font_var</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#a616f9992d5ed309e96288a7e08b87bf3">tft_get_font_height</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#abbf471bb78e19ca798b644121089aeed">tft_drawFastVLine</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t h , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#ae425260d907faa87a1b8e336f24ba54c">tft_drawFastHLine</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t <a class="code" href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a> , int16_t <a class="code" href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a> , int16_t w , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a7cef55bef133e9918955b4d2a53cf230">tft_drawLine</a> ( <a class="code" href="structwindow.html">window</a> *win , int16_t x0 , int16_t y0 , int16_t x1 , int16_t y1 , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#ade9ab635e91789982bc86674b61611be">tft_Bezier2</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="structp2__int16__t.html">p2_int16_t</a> S , <a class="code" href="structp2__int16__t.html">p2_int16_t</a> C , <a class="code" href="structp2__int16__t.html">p2_int16_t</a> T , <span class="keywordtype">int</span> steps , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keywordtype">int</span> <a class="code" href="ili9341_8h.html#ab70455710ab3ff401ead3f87c2e103fc">tft_Bezier3</a> ( <a class="code" href="structwindow.html">window</a> *win , <a class="code" href="structp2__int16__t.html">p2_int16_t</a> S , <a class="code" href="structp2__int16__t.html">p2_int16_t</a> C1 , <a class="code" href="structp2__int16__t.html">p2_int16_t</a> C2 , <a class="code" href="structp2__int16__t.html">p2_int16_t</a> T , <span class="keywordtype">int</span> steps , <a class="code" href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a> color );</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a9e2f1c5c213183804492d12ab89a1b43">tft_cleareol</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#ab2312256c9579261cfa1ed62c4e82410">tft_clearline</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#afaf6907405d24bf529df5590f450d3cd">tft_putch</a> ( <a class="code" href="structwindow.html">window</a> *win , <span class="keywordtype">int</span> c );</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">// ============================================================</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment">/* ili9341_hal.c */</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#ae8a7e08911796339320a3cc3beaea03a">tft_spi_init</a> ( <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> prescale );</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#ace16843deffffe3332a7e16f14e1c4f7">tft_spi_begin</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a6141eafeb5d38b1a5c5061ce0923a650">tft_spi_end</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#a54cf2a7ed961e6a81c212c06b2580d16">tft_reset_init</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#ad0b8f3a939e2b4eb04910d938b61f95c">tft_reset_enable</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#acf603db93753cb0381204da9a4fdefb2">tft_addr_init</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#adab2982713fd22c9046d2a067781e282">tft_reset_disable</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#aa975fa5ad6bb7e52356d9d66ac733196">tft_spi_TX</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data , <span class="keywordtype">int</span> bytes , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> command );</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#ad2eda0e245536550e1a28da1d652629e">tft_spi_TXRX</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data , <span class="keywordtype">int</span> bytes , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> command );</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ili9341_8h.html#aad54db2d053d783c70669fdbd414fda1">tft_spi_RX</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *data , <span class="keywordtype">int</span> bytes , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> command );</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<a class="code" href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="structwindow.html">window</a> *<a class="code" href="ili9341_8h.html#a14e5cdfbb744c04570df508551f77add">tft_init</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="preprocessor">#endif // _ILI9341_SUP_H_</span></div><div class="ttc" id="structwindow_html_ad89fdeb11ce94e2e7501f7290372d6ae"><div class="ttname"><a href="structwindow.html#ad89fdeb11ce94e2e7501f7290372d6ae">window::w</a></div><div class="ttdeci">int16_t w</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00040">ili9341.h:40</a></div></div>
<div class="ttc" id="ili9341_8h_html_aade6a90a61d9ec9c45a7ad61180f9770"><div class="ttname"><a href="ili9341_8h.html#aade6a90a61d9ec9c45a7ad61180f9770">sy</a></div><div class="ttdeci">int16_t sy(float scale, int16_t yoff, int16_t Y)</div></div>
<div class="ttc" id="ili9341_8h_html_a666fba3ffecff43f44c647bed2d012fe"><div class="ttname"><a href="ili9341_8h.html#a666fba3ffecff43f44c647bed2d012fe">tft_Cmd_Data_TX</a></div><div class="ttdeci">void tft_Cmd_Data_TX(uint8_t cmd, uint8_t *data, int bytes)</div><div class="ttdoc">Transmit 8 bit command and optionally send data buffer. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00072">ili9341.c:72</a></div></div>
<div class="ttc" id="ili9341_8h_html_ae425260d907faa87a1b8e336f24ba54c"><div class="ttname"><a href="ili9341_8h.html#ae425260d907faa87a1b8e336f24ba54c">tft_drawFastHLine</a></div><div class="ttdeci">void tft_drawFastHLine(window *win, int16_t x, int16_t y, int16_t w, uint16_t color)</div><div class="ttdoc">Fast virtical line drawing. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01329">ili9341.c:1329</a></div></div>
<div class="ttc" id="earth2wireframe_8c_html_a32f2e37ee053cf2ce8ca28d1f74630e5"><div class="ttname"><a href="earth2wireframe_8c.html#a32f2e37ee053cf2ce8ca28d1f74630e5">int32_t</a></div><div class="ttdeci">int int32_t</div><div class="ttdef"><b>Definition:</b> <a href="earth2wireframe_8c_source.html#l00043">earth2wireframe.c:43</a></div></div>
<div class="ttc" id="ili9341_8h_html_a5a31e1132605d6a60b66c4e969b56b37"><div class="ttname"><a href="ili9341_8h.html#a5a31e1132605d6a60b66c4e969b56b37">tft_window_init</a></div><div class="ttdeci">MEMSPACE void tft_window_init(window *win, int16_t x, int16_t y, int16_t w, int16_t h)</div><div class="ttdoc">Initialize window structure we default values FIXME check x+w, y+h absolute limits against TFT limuts...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01198">ili9341.c:1198</a></div></div>
<div class="ttc" id="ili9341_8h_html_a9aedd26c42606ba58f2f0a483619f323"><div class="ttname"><a href="ili9341_8h.html#a9aedd26c42606ba58f2f0a483619f323">tft_bit_blit</a></div><div class="ttdeci">void tft_bit_blit(window *win, uint8_t *ptr, int16_t x, int16_t y, int16_t w, int16_t h)</div><div class="ttdoc">BLIT functions </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00234">ili9341.c:234</a></div></div>
<div class="ttc" id="ili9341_8h_html_aa530634bb661856089c9bc7d78f8805f"><div class="ttname"><a href="ili9341_8h.html#aa530634bb661856089c9bc7d78f8805f">tft_set_font</a></div><div class="ttdeci">MEMSPACE void tft_set_font(window *win, uint16_t index)</div><div class="ttdoc">Set current font size (per current rotation) </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01267">ili9341.c:1267</a></div></div>
<div class="ttc" id="ili9341_8h_html_a7cef55bef133e9918955b4d2a53cf230"><div class="ttname"><a href="ili9341_8h.html#a7cef55bef133e9918955b4d2a53cf230">tft_drawLine</a></div><div class="ttdeci">void tft_drawLine(window *win, int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color)</div><div class="ttdoc">Draw line From my blit test code testit.c 1984 - 1985 Mike Gore. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01389">ili9341.c:1389</a></div></div>
<div class="ttc" id="ili9341_8h_html_ace16843deffffe3332a7e16f14e1c4f7"><div class="ttname"><a href="ili9341_8h.html#ace16843deffffe3332a7e16f14e1c4f7">tft_spi_begin</a></div><div class="ttdeci">void tft_spi_begin(void)</div><div class="ttdoc">Obtain SPI bus for TFT display, assert chip select return: void. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00080">ili9341_hal.c:80</a></div></div>
<div class="ttc" id="structwindow_html_a822391abd5d09e6ce7152f68cff3ef2b"><div class="ttname"><a href="structwindow.html#a822391abd5d09e6ce7152f68cff3ef2b">window::h</a></div><div class="ttdeci">int16_t h</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00041">ili9341.h:41</a></div></div>
<div class="ttc" id="ili9341_8h_html_a2eb6ca3fa55bfe5ecf510bc4b25916fc"><div class="ttname"><a href="ili9341_8h.html#a2eb6ca3fa55bfe5ecf510bc4b25916fc">tft_set_textpos</a></div><div class="ttdeci">MEMSPACE void tft_set_textpos(window *win, int16_t x, int16_t y)</div><div class="ttdoc">Set current window text pointer in characters (per current rotation) - overall font bounding box...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01254">ili9341.c:1254</a></div></div>
<div class="ttc" id="send_8c_html_a273cf69d639a59973b6019625df33e30"><div class="ttname"><a href="send_8c.html#a273cf69d639a59973b6019625df33e30">uint16_t</a></div><div class="ttdeci">unsigned short uint16_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00018">send.c:18</a></div></div>
<div class="ttc" id="structp3__int16__t_html_a85f1cacad0323b08b2b6b179abeaee79"><div class="ttname"><a href="structp3__int16__t.html#a85f1cacad0323b08b2b6b179abeaee79">p3_int16_t::X</a></div><div class="ttdeci">int16_t X</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00058">ili9341.h:58</a></div></div>
<div class="ttc" id="ili9341_8h_html_a49f75769b08991ac4a56bfb2f4e1fa05"><div class="ttname"><a href="ili9341_8h.html#a49f75769b08991ac4a56bfb2f4e1fa05">tft_fillRectXY</a></div><div class="ttdeci">void tft_fillRectXY(window *win, int16_t x, int16_t y, int16_t xl, int16_t yl, uint16_t color)</div><div class="ttdoc">Fill rectangle with color We clip the window to the current view. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00690">ili9341.c:690</a></div></div>
<div class="ttc" id="structwindow_html_ad58fae853f87093ef4f0139df0a3f33d"><div class="ttname"><a href="structwindow.html#ad58fae853f87093ef4f0139df0a3f33d">window::flags</a></div><div class="ttdeci">uint16_t flags</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00043">ili9341.h:43</a></div></div>
<div class="ttc" id="structwindow_html_affcf5d29153103c2537542f5a4f8ba87"><div class="ttname"><a href="structwindow.html#affcf5d29153103c2537542f5a4f8ba87">window::bg</a></div><div class="ttdeci">uint16_t bg</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00045">ili9341.h:45</a></div></div>
<div class="ttc" id="cordic_8c_html_a46b4b48ef8c0c01099eb3bcdde8aa8db"><div class="ttname"><a href="cordic_8c.html#a46b4b48ef8c0c01099eb3bcdde8aa8db">X</a></div><div class="ttdeci">Cordic_T X</div><div class="ttdoc">Main Cordic routine - used for basic trig and vector rotations We use fixed point numbers...</div><div class="ttdef"><b>Definition:</b> <a href="cordic_8c_source.html#l00102">cordic.c:102</a></div></div>
<div class="ttc" id="ili9341_8h_html_a2f1b69d1fb9681eedc171a9b8402f3ca"><div class="ttname"><a href="ili9341_8h.html#a2f1b69d1fb9681eedc171a9b8402f3ca">drawSVG</a></div><div class="ttdeci">void drawSVG(window *win, int16_t x, int16_t y, int16_t c, float scale, uint16_t color, int16_t fill)</div></div>
<div class="ttc" id="structwindow_html_a890a7dba31e7328500f4e5e41e51aab7"><div class="ttname"><a href="structwindow.html#a890a7dba31e7328500f4e5e41e51aab7">window::xpos</a></div><div class="ttdeci">int16_t xpos</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00036">ili9341.h:36</a></div></div>
<div class="ttc" id="structwindow_html_afbd48ebcb41e68d0f458dac593578aa8"><div class="ttname"><a href="structwindow.html#afbd48ebcb41e68d0f458dac593578aa8">window::rotation</a></div><div class="ttdeci">uint8_t rotation</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00046">ili9341.h:46</a></div></div>
<div class="ttc" id="structp3__int16__t_html_a8bbd7ad56a3bb5399524c40527556d89"><div class="ttname"><a href="structp3__int16__t.html#a8bbd7ad56a3bb5399524c40527556d89">p3_int16_t::Y</a></div><div class="ttdeci">int16_t Y</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00059">ili9341.h:59</a></div></div>
<div class="ttc" id="ili9341_8c_html_afe490938209e0b6b15224c05a01f0b40"><div class="ttname"><a href="ili9341_8c.html#afe490938209e0b6b15224c05a01f0b40">y</a></div><div class="ttdeci">int16_t y[XYSTACK+2]</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00372">ili9341.c:372</a></div></div>
<div class="ttc" id="ili9341_8h_html_a70194eb517d3ef94b34695e4599168ab"><div class="ttname"><a href="ili9341_8h.html#a70194eb517d3ef94b34695e4599168ab">tft_flood</a></div><div class="ttdeci">void tft_flood(window *win, int16_t x, int16_t y, uint16_t border, uint16_t fill)</div><div class="ttdoc">Flood fill. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00346">ili9341.c:346</a></div></div>
<div class="ttc" id="ili9341_8h_html_a4c1271aab64c58f75e6de6471f430bbe"><div class="ttname"><a href="ili9341_8h.html#a4c1271aab64c58f75e6de6471f430bbe">tft_setRotation</a></div><div class="ttdeci">MEMSPACE void tft_setRotation(uint8_t m)</div><div class="ttdoc">Set Display rotation, applies to the master window only Set hardware display rotation and memory fill...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00982">ili9341.c:982</a></div></div>
<div class="ttc" id="send_8c_html_a435d1572bf3f880d55459d9805097f62"><div class="ttname"><a href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a></div><div class="ttdeci">unsigned int uint32_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00019">send.c:19</a></div></div>
<div class="ttc" id="structp3__int16__t_html_a783a79cfeb34e41432b26918fd28144f"><div class="ttname"><a href="structp3__int16__t.html#a783a79cfeb34e41432b26918fd28144f">p3_int16_t::Z</a></div><div class="ttdeci">int16_t Z</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00060">ili9341.h:60</a></div></div>
<div class="ttc" id="ili9341_8h_html_a2e9724741987970e9a1a866446bc3a2f"><div class="ttname"><a href="ili9341_8h.html#a2e9724741987970e9a1a866446bc3a2f">tft_Data</a></div><div class="ttdeci">uint8_t tft_Data(uint8_t data)</div><div class="ttdoc">Transmit 8 bit data amd read 8bit data. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00061">ili9341.c:61</a></div></div>
<div class="ttc" id="ili9341_8h_html_adfcd8a18cff06d92e9d9c5959a66c9dd"><div class="ttname"><a href="ili9341_8h.html#adfcd8a18cff06d92e9d9c5959a66c9dd">tft_clip_xy</a></div><div class="ttdeci">MEMSPACE void tft_clip_xy(window *win, int16_t *X, int16_t *Y)</div><div class="ttdoc">Clip X,Y to fix inside specifiied window. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01114">ili9341.c:1114</a></div></div>
<div class="ttc" id="cordic_8c_html_ab746e677f466f17031e92ed577fc3c15"><div class="ttname"><a href="cordic_8c.html#ab746e677f466f17031e92ed577fc3c15">Y</a></div><div class="ttdeci">Cordic_T Y</div><div class="ttdef"><b>Definition:</b> <a href="cordic_8c_source.html#l00102">cordic.c:102</a></div></div>
<div class="ttc" id="ili9341_8h_html_abbf471bb78e19ca798b644121089aeed"><div class="ttname"><a href="ili9341_8h.html#abbf471bb78e19ca798b644121089aeed">tft_drawFastVLine</a></div><div class="ttdeci">void tft_drawFastVLine(window *win, int16_t x, int16_t y, int16_t h, uint16_t color)</div><div class="ttdoc">Fast virtical line drawing. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01314">ili9341.c:1314</a></div></div>
<div class="ttc" id="ili9341_8h_html_acea4413f1d84d044b7d83a96bb0bcb79"><div class="ttname"><a href="ili9341_8h.html#acea4413f1d84d044b7d83a96bb0bcb79">font_attr</a></div><div class="ttdeci">int font_attr(window *win, int c, _fontc *f)</div><div class="ttdoc">Get font attributes for a font. </div><div class="ttdef"><b>Definition:</b> <a href="font_8c_source.html#l00094">font.c:94</a></div></div>
<div class="ttc" id="ili9341_8h_html_a2e70141c8de6a4199f9fc39d8cfc758c"><div class="ttname"><a href="ili9341_8h.html#a2e70141c8de6a4199f9fc39d8cfc758c">tft_writeRect</a></div><div class="ttdeci">void tft_writeRect(window *win, int16_t x, int16_t y, int16_t w, int16_t h, uint16_t *color)</div><div class="ttdoc">Write a rectangle pixel array. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00745">ili9341.c:745</a></div></div>
<div class="ttc" id="structp3__int16__t_html"><div class="ttname"><a href="structp3__int16__t.html">p3_int16_t</a></div><div class="ttdoc">3D display point - display coordinates are int16 </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00057">ili9341.h:57</a></div></div>
<div class="ttc" id="ili9341_8h_html_ae8a7e08911796339320a3cc3beaea03a"><div class="ttname"><a href="ili9341_8h.html#ae8a7e08911796339320a3cc3beaea03a">tft_spi_init</a></div><div class="ttdeci">void tft_spi_init(uint32_t prescale)</div></div>
<div class="ttc" id="ili9341_8h_html_a647c0e54986f2520898707b8accd28f3"><div class="ttname"><a href="ili9341_8h.html#a647c0e54986f2520898707b8accd28f3">font_W</a></div><div class="ttdeci">int font_W(int font)</div><div class="ttdoc">Get font Width used for character to character spacing. </div><div class="ttdef"><b>Definition:</b> <a href="font_8c_source.html#l00080">font.c:80</a></div></div>
<div class="ttc" id="ili9341_8h_html_af543a94ab615526f81039617a49ac6e5"><div class="ttname"><a href="ili9341_8h.html#af543a94ab615526f81039617a49ac6e5">tft_window_clip</a></div><div class="ttdeci">MEMSPACE int tft_window_clip(window *win)</div><div class="ttdoc">Clip window structure to TFT limits. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01059">ili9341.c:1059</a></div></div>
<div class="ttc" id="ili9341_8h_html_a4f8e68425197b38f3c9889b64b24f362"><div class="ttname"><a href="ili9341_8h.html#a4f8e68425197b38f3c9889b64b24f362">tft_abs_window</a></div><div class="ttdeci">int32_t tft_abs_window(window *win, int16_t x, int16_t y, int16_t w, int16_t h)</div><div class="ttdoc">============================================================= </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00101">ili9341.c:101</a></div></div>
<div class="ttc" id="ili9341_8h_html_a787c79d0b0179b4b0f725422301d0e52"><div class="ttname"><a href="ili9341_8h.html#a787c79d0b0179b4b0f725422301d0e52">font_max</a></div><div class="ttdeci">int font_max(void)</div><div class="ttdef"><b>Definition:</b> <a href="font_8c_source.html#l00059">font.c:59</a></div></div>
<div class="ttc" id="ili9341_8h_html_a3c9368b6d6f6388a7c7f9ed89743e47f"><div class="ttname"><a href="ili9341_8h.html#a3c9368b6d6f6388a7c7f9ed89743e47f">tft_fillRectWH</a></div><div class="ttdeci">void tft_fillRectWH(window *win, int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color)</div><div class="ttdoc">Partial window Fill with color We clip the window to the current view. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00627">ili9341.c:627</a></div></div>
<div class="ttc" id="ili9341_8h_html_a675036a93108cdafe0b1060ba024c485"><div class="ttname"><a href="ili9341_8h.html#a675036a93108cdafe0b1060ba024c485">tft_drawPixel</a></div><div class="ttdeci">void tft_drawPixel(window *win, int16_t x, int16_t y, int16_t color)</div><div class="ttdoc">Pixel functions </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00717">ili9341.c:717</a></div></div>
<div class="ttc" id="ili9341_8h_html_adab2982713fd22c9046d2a067781e282"><div class="ttname"><a href="ili9341_8h.html#adab2982713fd22c9046d2a067781e282">tft_reset_disable</a></div><div class="ttdeci">void tft_reset_disable(void)</div><div class="ttdoc">disnable ILI9341 reset return: void </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00120">ili9341_hal.c:120</a></div></div>
<div class="ttc" id="ili9341_8h_html_a6223a118e376e361d8278428d1dac4fb"><div class="ttname"><a href="ili9341_8h.html#a6223a118e376e361d8278428d1dac4fb">tft_floodline</a></div><div class="ttdeci">int tft_floodline(window *win, int16_t x, int16_t y, uint16_t border, uint16_t fill)</div><div class="ttdoc">Flood using line fill method. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00416">ili9341.c:416</a></div></div>
<div class="ttc" id="ili9341_8h_html_ab2312256c9579261cfa1ed62c4e82410"><div class="ttname"><a href="ili9341_8h.html#ab2312256c9579261cfa1ed62c4e82410">tft_clearline</a></div><div class="ttdeci">MEMSPACE void tft_clearline(window *win)</div><div class="ttdoc">Clear display text line. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01621">ili9341.c:1621</a></div></div>
<div class="ttc" id="ili9341_8c_html_a12ad102c2d1e7e119fdc040b0c922c7e"><div class="ttname"><a href="ili9341_8c.html#a12ad102c2d1e7e119fdc040b0c922c7e">x</a></div><div class="ttdeci">int16_t x[XYSTACK+2]</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00371">ili9341.c:371</a></div></div>
<div class="ttc" id="ili9341_8h_html_a616f9992d5ed309e96288a7e08b87bf3"><div class="ttname"><a href="ili9341_8h.html#a616f9992d5ed309e96288a7e08b87bf3">tft_get_font_height</a></div><div class="ttdeci">int tft_get_font_height(window *win)</div><div class="ttdoc">Get font height. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01296">ili9341.c:1296</a></div></div>
<div class="ttc" id="ili9341_8h_html_ade9ab635e91789982bc86674b61611be"><div class="ttname"><a href="ili9341_8h.html#ade9ab635e91789982bc86674b61611be">tft_Bezier2</a></div><div class="ttdeci">int tft_Bezier2(window *win, p2_int16_t S, p2_int16_t C, p2_int16_t T, int steps, uint16_t color)</div><div class="ttdoc">Draw lines between points along Quadratic Bézier curve Quadratic Bézier with respect to t...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01474">ili9341.c:1474</a></div></div>
<div class="ttc" id="ili9341_8h_html_aecac98906474a88c3017fc3761328506"><div class="ttname"><a href="ili9341_8h.html#aecac98906474a88c3017fc3761328506">tft_565toRGB</a></div><div class="ttdeci">void tft_565toRGB(uint16_t color, uint8_t *r, uint8_t *g, uint8_t *b)</div><div class="ttdoc">Color conversions </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01033">ili9341.c:1033</a></div></div>
<div class="ttc" id="ili9341_8h_html_adaf98866e7cbd787fde096143d394699"><div class="ttname"><a href="ili9341_8h.html#adaf98866e7cbd787fde096143d394699">tft_setpos</a></div><div class="ttdeci">MEMSPACE void tft_setpos(window *win, int16_t x, int16_t y)</div><div class="ttdoc">Set current window text pointer in pixels (per current rotation) </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01241">ili9341.c:1241</a></div></div>
<div class="ttc" id="ili9341_8h_html_a26f9b4da8c98bb40a55da447874a849c"><div class="ttname"><a href="ili9341_8h.html#a26f9b4da8c98bb40a55da447874a849c">tft_rel_window</a></div><div class="ttdeci">int32_t tft_rel_window(window *win, int16_t x, int16_t y, int16_t w, int16_t h)</div><div class="ttdoc">Set the ili9341 working window by relative position and size Note: Function clips x...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00140">ili9341.c:140</a></div></div>
<div class="ttc" id="ili9341_8h_html_aec37c6383e20a1fef1cd4924060ed693"><div class="ttname"><a href="ili9341_8h.html#aec37c6383e20a1fef1cd4924060ed693">font_H</a></div><div class="ttdeci">int font_H(int font)</div><div class="ttdoc">Get font height used for line to line spacing. </div><div class="ttdef"><b>Definition:</b> <a href="font_8c_source.html#l00070">font.c:70</a></div></div>
<div class="ttc" id="ili9341_8h_html_a0aa9c4ef2ff8fad916fe2f748c139c59"><div class="ttname"><a href="ili9341_8h.html#a0aa9c4ef2ff8fad916fe2f748c139c59">sx</a></div><div class="ttdeci">int16_t sx(float scale, int16_t xoff, int16_t X)</div></div>
<div class="ttc" id="ili9341_8h_html_a6ab93eb7f022a179fed29999a4affd2f"><div class="ttname"><a href="ili9341_8h.html#a6ab93eb7f022a179fed29999a4affd2f">tft_FillPolyLine</a></div><div class="ttdeci">int tft_FillPolyLine(window *win, int16_t x, int16_t y, int w, uint16_t color)</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00510">ili9341.c:510</a></div></div>
<div class="ttc" id="ili9341_8h_html_a6a3d78858315dd032ed3b31099867584"><div class="ttname"><a href="ili9341_8h.html#a6a3d78858315dd032ed3b31099867584">tft_font_var</a></div><div class="ttdeci">MEMSPACE void tft_font_var(window *win)</div><div class="ttdoc">Set current font type to variable. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01288">ili9341.c:1288</a></div></div>
<div class="ttc" id="ili9341_8h_html_ad2eda0e245536550e1a28da1d652629e"><div class="ttname"><a href="ili9341_8h.html#ad2eda0e245536550e1a28da1d652629e">tft_spi_TXRX</a></div><div class="ttdeci">void tft_spi_TXRX(uint8_t *data, int bytes, uint8_t command)</div><div class="ttdoc">Transmit and read 8 bit data array. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00149">ili9341_hal.c:149</a></div></div>
<div class="ttc" id="structwindow_html_a95c7023fc42e79ab42c291b90a490776"><div class="ttname"><a href="structwindow.html#a95c7023fc42e79ab42c291b90a490776">window::y</a></div><div class="ttdeci">int16_t y</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00039">ili9341.h:39</a></div></div>
<div class="ttc" id="ili9341_8h_html_aeedc758e5bf61e7ffb28d4a85de854e6"><div class="ttname"><a href="ili9341_8h.html#aeedc758e5bf61e7ffb28d4a85de854e6">tft_setTextColor</a></div><div class="ttdeci">MEMSPACE void tft_setTextColor(window *win, uint16_t fg, uint16_t bg)</div><div class="ttdoc">==================================== </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01228">ili9341.c:1228</a></div></div>
<div class="ttc" id="ili9341_8h_html_ab70455710ab3ff401ead3f87c2e103fc"><div class="ttname"><a href="ili9341_8h.html#ab70455710ab3ff401ead3f87c2e103fc">tft_Bezier3</a></div><div class="ttdeci">int tft_Bezier3(window *win, p2_int16_t S, p2_int16_t C1, p2_int16_t C2, p2_int16_t T, int steps, uint16_t color)</div><div class="ttdoc">Draw lines between points along Cubic Bézier curve Quadratic Bézier with respect to t...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01545">ili9341.c:1545</a></div></div>
<div class="ttc" id="ili9341_8h_html_ac276806b0f70c3a69aaefa4a7937643b"><div class="ttname"><a href="ili9341_8h.html#ac276806b0f70c3a69aaefa4a7937643b">tft_invertDisplay</a></div><div class="ttdeci">MEMSPACE void tft_invertDisplay(int flag)</div><div class="ttdoc">Invert the display. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01045">ili9341.c:1045</a></div></div>
<div class="ttc" id="ili9341_8h_html_a08bf5b6422229993b5d68e48c7b39619"><div class="ttname"><a href="ili9341_8h.html#a08bf5b6422229993b5d68e48c7b39619">tft_readRect</a></div><div class="ttdeci">void tft_readRect(window *win, int16_t x, int16_t y, int16_t w, int16_t h, uint16_t *color)</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00837">ili9341.c:837</a></div></div>
<div class="ttc" id="ili9341__adafruit_8h_html"><div class="ttname"><a href="ili9341__adafruit_8h.html">ili9341_adafruit.h</a></div></div>
<div class="ttc" id="structp2__int16__t_html"><div class="ttname"><a href="structp2__int16__t.html">p2_int16_t</a></div><div class="ttdoc">2D display point - display coordinates are int16 </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00051">ili9341.h:51</a></div></div>
<div class="ttc" id="structwindow_html_acee24e56db43557a46cbb5ca3fe35021"><div class="ttname"><a href="structwindow.html#acee24e56db43557a46cbb5ca3fe35021">window::font</a></div><div class="ttdeci">uint16_t font</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00042">ili9341.h:42</a></div></div>
<div class="ttc" id="ili9341_8h_html_a79545feceb8eca011c3f424b36035010"><div class="ttname"><a href="ili9341_8h.html#a79545feceb8eca011c3f424b36035010">tft_readId</a></div><div class="ttdeci">MEMSPACE uint32_t tft_readId(void)</div><div class="ttdoc">Read ILI9341 device ID should be 9341 This does not work for really high SPI clock speeds Make sure t...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00206">ili9341.c:206</a></div></div>
<div class="ttc" id="structwindow_html_a64bdec4f0ee274a96d696b16de783746"><div class="ttname"><a href="structwindow.html#a64bdec4f0ee274a96d696b16de783746">window::ypos</a></div><div class="ttdeci">int16_t ypos</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00037">ili9341.h:37</a></div></div>
<div class="ttc" id="ili9341_8h_html_a04d77513a2a6464617b3effa276196ae"><div class="ttname"><a href="ili9341_8h.html#a04d77513a2a6464617b3effa276196ae">tft_window_clip_args</a></div><div class="ttdeci">MEMSPACE int tft_window_clip_args(window *win, int16_t *x, int16_t *y, int16_t *w, int16_t *h)</div><div class="ttdoc">clip arguments to window limits Arguments position x,y width w and height h to be clipped ...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01145">ili9341.c:1145</a></div></div>
<div class="ttc" id="structp2__int16__t_html_a017972fd9b6519624f8ebc119a11ced9"><div class="ttname"><a href="structp2__int16__t.html#a017972fd9b6519624f8ebc119a11ced9">p2_int16_t::X</a></div><div class="ttdeci">int16_t X</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00052">ili9341.h:52</a></div></div>
<div class="ttc" id="ili9341_8h_html_a6141eafeb5d38b1a5c5061ce0923a650"><div class="ttname"><a href="ili9341_8h.html#a6141eafeb5d38b1a5c5061ce0923a650">tft_spi_end</a></div><div class="ttdeci">void tft_spi_end(void)</div><div class="ttdoc">Release SPI bus from TFT display, deassert chip select return: void. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00087">ili9341_hal.c:87</a></div></div>
<div class="ttc" id="structwindow_html_ac8739cdb3c50efcc1deaa5ab955a5e62"><div class="ttname"><a href="structwindow.html#ac8739cdb3c50efcc1deaa5ab955a5e62">window::fg</a></div><div class="ttdeci">uint16_t fg</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00044">ili9341.h:44</a></div></div>
<div class="ttc" id="bdffontutil_8h_html_a6d9c6f27190f0f04abf55678fe81080d"><div class="ttname"><a href="bdffontutil_8h.html#a6d9c6f27190f0f04abf55678fe81080d">font</a></div><div class="ttdeci">_font font</div></div>
<div class="ttc" id="ili9341_8h_html_acf603db93753cb0381204da9a4fdefb2"><div class="ttname"><a href="ili9341_8h.html#acf603db93753cb0381204da9a4fdefb2">tft_addr_init</a></div><div class="ttdeci">void tft_addr_init(void)</div><div class="ttdoc">Initialize ILI9341 command/data GPIO return: void. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00112">ili9341_hal.c:112</a></div></div>
<div class="ttc" id="ili9341_8h_html_a944393583142b4a19593eec1a743b90e"><div class="ttname"><a href="ili9341_8h.html#a944393583142b4a19593eec1a743b90e">tft_Cmd</a></div><div class="ttdeci">void tft_Cmd(uint8_t cmd)</div><div class="ttdoc">Transmit 8 bit command. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00053">ili9341.c:53</a></div></div>
<div class="ttc" id="structwindow_html_a879b99940dfc34772f0257f54c67b817"><div class="ttname"><a href="structwindow.html#a879b99940dfc34772f0257f54c67b817">window::x</a></div><div class="ttdeci">int16_t x</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00038">ili9341.h:38</a></div></div>
<div class="ttc" id="ili9341_8h_html_afaf6907405d24bf529df5590f450d3cd"><div class="ttname"><a href="ili9341_8h.html#afaf6907405d24bf529df5590f450d3cd">tft_putch</a></div><div class="ttdeci">void tft_putch(window *win, int c)</div><div class="ttdoc">put character in current winoow </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01643">ili9341.c:1643</a></div></div>
<div class="ttc" id="structwindow_html"><div class="ttname"><a href="structwindow.html">window</a></div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00034">ili9341.h:34</a></div></div>
<div class="ttc" id="ili9341_8h_html_a965b65255c70e4dfcdf3c80365bb1358"><div class="ttname"><a href="ili9341_8h.html#a965b65255c70e4dfcdf3c80365bb1358">tft_pop_xy</a></div><div class="ttdeci">int tft_pop_xy(int16_t *x, int16_t *y)</div><div class="ttdoc">point push </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00397">ili9341.c:397</a></div></div>
<div class="ttc" id="ili9341_8h_html_a98e0ecaf3fc85ced7c0b7a2a504df02f"><div class="ttname"><a href="ili9341_8h.html#a98e0ecaf3fc85ced7c0b7a2a504df02f">tft_Vscroll</a></div><div class="ttdeci">void tft_Vscroll(window *win, int dir)</div><div class="ttdoc">Scroll window up by dir lines We start at the top of the window and move down. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00903">ili9341.c:903</a></div></div>
<div class="ttc" id="ili9341_8h_html_ad0b8f3a939e2b4eb04910d938b61f95c"><div class="ttname"><a href="ili9341_8h.html#ad0b8f3a939e2b4eb04910d938b61f95c">tft_reset_enable</a></div><div class="ttdeci">void tft_reset_enable(void)</div><div class="ttdoc">enable ILI9341 reset return: void </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00103">ili9341_hal.c:103</a></div></div>
<div class="ttc" id="ili9341_8h_html_ae282613acd29016b23947b0b053170b5"><div class="ttname"><a href="ili9341_8h.html#ae282613acd29016b23947b0b053170b5">tft_readPixel</a></div><div class="ttdeci">uint16_t tft_readPixel(window *win, int16_t x, int16_t y)</div><div class="ttdoc">Read one pixel and return color in 1bit 565 RGB format We clip the window to the current view Note: R...</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00952">ili9341.c:952</a></div></div>
<div class="ttc" id="ili9341_8h_html_a90dda5b7ba495fcca6ab4e5259f6c6fe"><div class="ttname"><a href="ili9341_8h.html#a90dda5b7ba495fcca6ab4e5259f6c6fe">tft_fillWin</a></div><div class="ttdeci">void tft_fillWin(window *win, uint16_t color)</div><div class="ttdoc">Fill functions </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00334">ili9341.c:334</a></div></div>
<div class="ttc" id="ili9341_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="ili9341_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00066">ili9341.h:66</a></div></div>
<div class="ttc" id="ili9341_8h_html_aa975fa5ad6bb7e52356d9d66ac733196"><div class="ttname"><a href="ili9341_8h.html#aa975fa5ad6bb7e52356d9d66ac733196">tft_spi_TX</a></div><div class="ttdeci">void tft_spi_TX(uint8_t *data, int bytes, uint8_t command)</div><div class="ttdoc">Transmit 8 bit data array. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00134">ili9341_hal.c:134</a></div></div>
<div class="ttc" id="ili9341_8h_html_a54cf2a7ed961e6a81c212c06b2580d16"><div class="ttname"><a href="ili9341_8h.html#a54cf2a7ed961e6a81c212c06b2580d16">tft_reset_init</a></div><div class="ttdeci">void tft_reset_init(void)</div><div class="ttdoc">Initialize ILI9341 reset GPIO return: void. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00094">ili9341_hal.c:94</a></div></div>
<div class="ttc" id="display_2font_8h_html"><div class="ttname"><a href="display_2font_8h.html">font.h</a></div></div>
<div class="ttc" id="structp2__int16__t_html_a13502352cac20adbf543b35dc25bf76c"><div class="ttname"><a href="structp2__int16__t.html#a13502352cac20adbf543b35dc25bf76c">p2_int16_t::Y</a></div><div class="ttdeci">int16_t Y</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00053">ili9341.h:53</a></div></div>
<div class="ttc" id="ili9341_8h_html_a9e2f1c5c213183804492d12ab89a1b43"><div class="ttname"><a href="ili9341_8h.html#a9e2f1c5c213183804492d12ab89a1b43">tft_cleareol</a></div><div class="ttdeci">MEMSPACE void tft_cleareol(window *win)</div><div class="ttdoc">Character and String functions </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01601">ili9341.c:1601</a></div></div>
<div class="ttc" id="structwindow_html_a88d2836d45dd428d8fadfd703f0f965f"><div class="ttname"><a href="structwindow.html#a88d2836d45dd428d8fadfd703f0f965f">window::tabstop</a></div><div class="ttdeci">uint8_t tabstop</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00047">ili9341.h:47</a></div></div>
<div class="ttc" id="send_8c_html_aba7bc1797add20fe3efdf37ced1182c5"><div class="ttname"><a href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a></div><div class="ttdeci">unsigned char uint8_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00017">send.c:17</a></div></div>
<div class="ttc" id="ili9341_8h_html_a3cbe26ff6bbd20f42551fcfa12351142"><div class="ttname"><a href="ili9341_8h.html#a3cbe26ff6bbd20f42551fcfa12351142">tft_readRegister</a></div><div class="ttdeci">MEMSPACE uint32_t tft_readRegister(uint8_t command, uint8_t parameter)</div><div class="ttdoc">==================================== </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00166">ili9341.c:166</a></div></div>
<div class="ttc" id="struct__fontc_html"><div class="ttname"><a href="struct__fontc.html">_fontc</a></div><div class="ttdef"><b>Definition:</b> <a href="display_2font_8h_source.html#l00089">font.h:89</a></div></div>
<div class="ttc" id="ili9341_8h_html_a14e5cdfbb744c04570df508551f77add"><div class="ttname"><a href="ili9341_8h.html#a14e5cdfbb744c04570df508551f77add">tft_init</a></div><div class="ttdeci">MEMSPACE window * tft_init(void)</div><div class="ttdoc">Initialize TFT. </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00178">ili9341_hal.c:178</a></div></div>
<div class="ttc" id="ili9341_8h_html_abeeeab813dc4bbff2e42b292748a69f6"><div class="ttname"><a href="ili9341_8h.html#abeeeab813dc4bbff2e42b292748a69f6">tft_push_xy</a></div><div class="ttdeci">int tft_push_xy(int16_t x, int16_t y)</div><div class="ttdoc">point push </div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l00380">ili9341.c:380</a></div></div>
<div class="ttc" id="ili9341_8h_html_aea5f4bb41e9459b03f1a0df02b01b9fa"><div class="ttname"><a href="ili9341_8h.html#aea5f4bb41e9459b03f1a0df02b01b9fa">tft_font_fixed</a></div><div class="ttdeci">MEMSPACE void tft_font_fixed(window *win)</div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8c_source.html#l01278">ili9341.c:1278</a></div></div>
<div class="ttc" id="ili9341_8h_html_aad54db2d053d783c70669fdbd414fda1"><div class="ttname"><a href="ili9341_8h.html#aad54db2d053d783c70669fdbd414fda1">tft_spi_RX</a></div><div class="ttdeci">void tft_spi_RX(uint8_t *data, int bytes, uint8_t command)</div><div class="ttdoc">read 8 bit data array </div><div class="ttdef"><b>Definition:</b> <a href="ili9341__hal_8c_source.html#l00165">ili9341_hal.c:165</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
